<?php
class Socialprofiles_Data_Updatesocialprofiles implements Socialprofiles_Data_Mainable{
    
    private $core_controller_dataoperation;
    
    public function __construct() {
        $this->core_controller_dataoperation = new Core_Controller_Dataoperation;
    }
    
    public function main(array $variables = null) {
        $variables['query'] = "UPDATE social_data SET skype_login='".$variables['post']['skype_login']."', facebook_profile='".$variables['post']['dacebook_profile']."', google_plus_profile='".$variables['post']['google_plus_profile']."', twitter_profile='".$variables['post']['twitter_profile']."' WHERE username='".$variables['post']['username']."';";
        return $this->core_controller_dataoperation->main($variables);
    }

}
